<!DOCTYPE html>
<html lang="en">

<head>
    <title>投票成功</title>
    <#include "/toupiao/components/meta.html" />
    <#include "/toupiao/components/stylesheets.html" />
    <style>
    .result {
        padding-top: 120px;
        text-align: center;
        color: #45d457;
    }
    .result .icon {
        font-size: 7em;
    }
    .result .text {
        font-size: 1.4em;
    }
    .result .text a {
        color: #45d457;
    }
    </style>
</head>

<body>
    <div id="app">
        <div class="result">
            <div class="icon">
                <i class="am-icon-check-circle"></i>
            </div>
            <div class="text">
                <a href="javascript:window.history.back()">返回上一页</a>
            </div>
        </div>
    </div>
    <#include "/toupiao/components/scripts.html" />
    <#include "/toupiao/components/wxConfig.html" />
    <script type="text/javascript">
    var app = new Vue({
        el: '#app',
        data: {
        },
        methods: {
        }
    })
    wx.ready(function() {
        var title = "${activity.shareTitle!}";
        var desc = "${activity.shareDesc!}";
        var link = "${host}/toupiao/${(activity.code)!}";
        var imgUrl = "${activity.shareImage!}";
        initWXShareAll(title, desc, link, imgUrl);
    });
    </script>
</body>

</html>